package animals;

/**
 * Exception thrown, when the {@link Animal.mate(Animal b)} function is called,
 * trying to force interspecific copulation between two incompatible animals.
 * 
 * @author Nicolas Winkler
 * 
 */
public class InvalidCrossBreedingException extends RuntimeException {
	/**
	 * creates the Exception
	 * 
	 * @param errMsg
	 *            the reason, why the attempt to fuck failed
	 */
	public InvalidCrossBreedingException(String errMsg) {
		super(errMsg);
	}
}
